package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.gdit.comm.enums.IdentityType;
import com.gdit.comm.enums.Sex;
import com.gdit.comm.enums.Status;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 家长
 *
 * @author wdc
 * @since 2021-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_guard")
@ApiModel(value="Guard对象", description="")
public class Guard implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "监护人中文名")
    private String nameCn;

    @ApiModelProperty(value = "监护人外文名")
    private String namePt;

    @ApiModelProperty(value = "性别")
    private Sex sex;

    @ApiModelProperty(value = "职业")
    private String prof;

    @ApiModelProperty(value = "证件类型")
    private IdentityType identityType;

    @ApiModelProperty(value = "证件编号")
    private String identityNo;

    @ApiModelProperty(value = "电话")
    private String tel;

    @ApiModelProperty(value = "移动电话")
    private String mobile;

    @ApiModelProperty(value = "婚姻状况")
    private Integer marriageStatus;

    @ApiModelProperty(value = "教育程度")
    private String educationLevel;

    @ApiModelProperty(value = "状态，默认为0，0为正常")
    @TableLogic(value = "0",delval = "1")
    private Status status;


}
